package bb.lanxing.activity.base;

import android.content.DialogInterface;

import bb.lanxing.mvp.base.IUIDelegate;
public abstract class BaseViewActivity extends BaseActivity implements IUIDelegate {
    public void autoRefresh() {
    }

    public void loadComplete() {
    }

    public void refreshComplete() {
    }

    @Override
    public void showLoadingDialog(CharSequence charSequence, boolean z, DialogInterface.OnCancelListener onCancelListener) {
        showLoadingDialogInternal(charSequence, z, onCancelListener);
    }

    @Override
    public void showLoadingDialog(int i, boolean z, DialogInterface.OnCancelListener onCancelListener) {
        showLoadingDialogInternal(getString(i), z, onCancelListener);
    }

    public void showRequestDialog() {
        showMyProgressDialog();
    }

    public void closeRequestDialog() {
        dismissLoadingDialog();
    }
}
